package edu.gatech.ece6102.beans;

/**
 * User: deepal
 * Date: Nov 20, 2010
 * Time: 10:04:23 PM
 */

/**
 * This represents the runtime information of a given Application server
 */
public class Node {
    //IP address of Hostname of the app server
    private String IP;
    //Current CPU utilization
    private int cpu;

    public String getIP() {
        return IP;
    }

    public void setIP(String IP) {
        this.IP = IP;
    }

    public int getCpu() {
        return cpu;
    }

    public void setCpu(int cpu) {
        this.cpu = cpu;
    }

    public String toString() {
        return IP + " " + cpu;
    }
}
